package base.service.impl;

import base.bean.UserEntity;
import base.dao.IUserDao;
import base.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by uas on 2018/3/19.
 */
@Service
public class IUserServiceImpl implements IUserService {

    @Autowired
    private IUserDao iUserDao;

    @Override
    public UserEntity findByNameAndPassword(String name, String password) {
        return iUserDao.findByNameAndPassword(name, password);
    }


}
